require(["jquery","bbcare","jqprint","echarts",
    "scprit/department/vm/assessmentScreening/albertaAssessmentOfInfants.ui.js",
    "scprit/department/vm/assessmentScreening/albertaAssessmentOfInfantsResult.event.js",
    "scprit/department/vm/assessmentScreening/assessmentScreeningQuestion.servers.js"
],function ($,$bb,$jqprint,echarts,$ui,$event,$servers) {
    var obj = $bb.getPageParams();
    $event.pageInit(obj);
    var printReport = function(){
        $servers.print(".printContent");
    }
    var topbars = [
        {
            "icon":"fa fa-print",
            "name":"打印报告",
            "callback":printReport
        }
    ];
    $bb.toolbar(topbars);
});